#ifndef __USART4_H
#define __USART4_H

#include "stm32f4xx.h"                  // Device header
#include "string.h"
#include "FreeRTOS.h"
#include "task.h"
#include "queue.h"
#include "semphr.h"

enum {sercom1};

typedef struct
{
    USART_TypeDef      *USART;
    SemaphoreHandle_t  TxBinarySemaphore;
    QueueHandle_t      TxMessage_Queue;
    QueueHandle_t      RxMessage_Queue;
} ALLData_Struct;

extern ALLData_Struct xUart_Handler[3];

void UART4_Init( void );
void Device_Usart4_ENABLE_Init(u32 bound);


#endif

